1Product Features
lDC7-30VWide voltage power supply;
lThe power interface adopts multiple protections such as anti reverse connection, self recovery insurance, and transient suppression diode
lCommunication interface support1roadRS485
lSimultaneously supporting multiple protocols,Modbus RTU/TCP/ASCLLagreement;
lCommunication baud rate:2400,4800,9600,19200,38400, one hundred and fifteen thousand and two hundred(Can be modified through software, default)9600);
lModule supportGPS/Beidou/GLONASS/Galileo/QZSS/SBAS
lQuick positioning less than1Seconds; (Pure hardware hot start)
lSunrise and sunset time output
lSwitch between time zones at will
IIPRODUCT FUNCTION
lGPSpositioning
IIIProduct Selection
4Parameters
5Interface Description
VICommunication wiring instructions
1RS485 cascade connection method
The serial port that comes with a computer is usuallyRS232It needs to be equipped232-485Converter (recommended for industrial environments to use active band isolated converters), after conversionRS485doA、BTwo lines,AConnect to the boardATerminal,BConnect to the boardBTerminal,485Shielding can be connectedGNDIf there are many devices, it is recommended to use twisted pair shielded wires and adopt a chain network structure.
VITest software description
1、Software Download
Software download link address:http://www.juyingele.com.cn/software/software/Juying SoarsDAMdebuggingSoftware usage tutorial.rar
2、Interface
Software functions:
lAnalog reading
lDebugging information query
lSetting of offset address
3、Communication testing
①Select the current serial port number of the device and open the serial port;
②Select the corresponding product model;
③Change the device address to254Click on "Read Address", and the software will prompt "Read Successful" at the bottom. The device address read is“0”If the sending and command in the lower right corner of the software are correct, it indicates that the device has successfully communicated with the computer.
7、 Parameter and working mode configuration
1Equipment address
1.1、Introduction to device address
DAMThe default address for the series of devices is1Using the broadcast address as254Communicate,use0Unable to communicate.
Device Address= Offset address.
1.2、Reading device address
After the device communicates normally, the initial device address is written254And thenClick on the top of the softwareRead addressYou can read the current address of the device.
1.4、Setting and Reading of Offset Address
clickDAMdebuggingBelow the software, offset the address behind itRead "or" set "to read or set the offset address of the device.
1.5、Reading and Setting of Baud Rate
Click on the baud rate setting bar belowRead "and" Set "can respectively read and set the baud rate and address. After the operation, the device needs to be restarted and the computer serial port settings need to be modified.
8、 Development documentation description
1、communicationProtocol Specification
This product supports standardsmodbusInstructions, for detailed instruction generation and parsing methods, please refer to the register table in this article for reference《MODBUSThe Chinese version of the agreement is sufficient.
ModbusChinese version of the agreement reference:
http://www.juyingele.com.cn/software/software/Modbus%20POLL Software and User Tutorial. rar
2、ModbusRegister Description
stem or root of plantsdeviceMainly supports the following command codes:3 4
Register Address Table:
remarks:
①:ModbusThe device instructions support the followingModbusAddress:
00001to09999It is a discrete output(coil)
10001to19999It's a discrete input(contact)
30001to39999It's an input register(Usually an analog input) 40001to49999It's to keep the register(Usually storing device configuration information)
use5Bit code format, the first character determines the register type, and the rest4A character represents the address. address1follow0At the beginning, as00001corresponding0000.
② Table of baud rate values correspondence
Register address according toPLCNaming convention, the real address is to remove the highest bit and then subtract one.
3Instruction generation instructions
Application example and explanation: In addition to offset address, the local address also has default settings254For the broadcast address. When there is only one device on the bus, there is no need to worry about the dip switch address, and it can be used directly254The address is sufficient. When there are multiple devices on the bus, different addresses can be selected through the dip switch, and control instructions can be sent through address differentiation.
be careful:RS232The bus is1answer1Bus, which means there can only be two devices on the bus, such as a computer and a relay board485Only a bus can mount multiple devices.
Instructions can be obtained throughJu Ying SoarsDAMDebugging software ", to obtain debugging information.
Instruction generation instructions: For instructions not listed in the table below, users can generate them themselves according to the instructions providedmodbusProtocol generation, for the reading and writing of relay coils, is actually aboutmodbusThe reading and writing of the coil register in the register. The address of the relay register has been explained in the previous text, and users only need to generate read and write instructions for the register operation. For example, reading or writing relays1The state is actually related to the relay1Corresponding coil register00001Read and write operations.
4、Instruction Explanation
4.1、Read positioning data
Send code:FE 04 00 00 0013 A5 C8
Simulated return information:
Return code:FE 04 26 00 00 08 20 00 01 00 06 00 00 00 02 00 13 45 7A 1B CF 00 4E 46 35 89 A8 00 45 00 00 00 00 00 00 00 00 00 00 00 00 1E 90
4.2ReadingpositioningRaw data(RMC)
Send code:FE 04 01 2C 0032 A5 E5
Simulated return information:
Return code:FE 04 64 4D 52 2C 43 37 30 36 34 32 32 30 2E 30 30 41 2C 34 2C 30 30 2E 31 34 37 34 31 4E 2C 31 2C 36 31 38 31 33 2E 39 39 2C 32 2C 45 2E 31 31 37 2C 30 33 38 33 2E 2C 36 37 30 37 30 30 32 2C 2C 41 2C 37 2A 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C2 70
give an example:RMC,100646.000,A,3109.9704,N,12123.4219,E,0.257,335.62,291216,,,A*59
9Common problems and solutions
1、485busWhen multiple devices are attached, each device address cannot be the same, and broadcast addresses cannot be used254Come and communicate.
The broadcast address can be used when there is only one device on the bus, greater than1Please use dip switches to distinguish addresses when controlling individual devices, otherwise instructions may not be executed correctly due to asynchronous judgment of communication data by the module.
2Unable to locate
Check if the antenna is in good contact and if the environment is relatively open
10、 Technical Support Contact Information
contact number:010-82899827/1-803
contactQQ:3323725294